<?php

namespace common\models;


use yii\db\ActiveRecord;

class SupplierAttribute extends ActiveRecord
{
    public static function tableName()
    {
        return 'supplier_attribute';
    }

    public function rules()
    {
        return [
            [['id','is_del','create_time','update_time'],'integer'],
            [['attribute_name'],'string']
        ];
    }

    public function attributeLabels()
    {
        return [
            'id' => 'id',
            'attribute_name' => '规格名称',
            'is_del' => '删除',
            'create_time' => '创建时间',
            'update_time' => '更新时间',
        ];
    }

}